How to differentiate e^xcosx using the Product Rule